<%@ page import="sige.Disciplina" %>
<!doctype html>
<html>
    <head>
        <meta name="layout" content="main">
        <g:set var="entityName" value="${message(code: 'disciplina.label', default: 'Disciplina')}" />
        <title><g:message code="default.list.label" args="[entityName]" /></title>
    </head>
    <body>
        <center>
            <h1><g:message code="default.list.label" args="[entityName]" /></h1>
        </center>
        <ul class="breadcrumb">
          <li>
            <a class="home" href="${createLink(uri: '/')}">
              <i class="icon-home"></i>
              <g:message code="default.home.label"/>
            </a>
            <span class="divider"><g:message code="span.divider" /></span>
          </li>
          <li>
            <g:link class="create" action="create">
              <i class="icon-file"></i>
              <g:message code="default.new.label" args="[entityName]" />
            </g:link>
          </li>
        </ul>
        <g:if test="${flash.message}">
          <div class="alert alert-info">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            ${flash.message}
          </div>
        </g:if>
        <div id="list-disciplina" class="span12" role="main">
            <g:form action="list" class="form-search">
              <div class="input-append">
                <g:remoteField class="span4 search-query" action="updateTable" 
                    update="table" name="campo" />
                <button type="submit" class="btn btn-primary">
                  <i class="icon-search icon-white"></i>
                </button>
              </div>
            </g:form>
            <div id="table">
                <g:render template="table"/>
            </div>
            <div class="pagination" align="center">
                <g:paginate total="${disciplinaInstanceTotal}" />
            </div>
        </div>
    </body>
</html>

